class AgreePrivacy {
  AgreePrivacy({
      String? title, 
      String? message, 
      String? buttonAccept, 
      String? buttonRefuse,}){
    _title = title;
    _message = message;
    _buttonAccept = buttonAccept;
    _buttonRefuse = buttonRefuse;
}

  AgreePrivacy.fromJson(dynamic json) {
    _title = json['title'];
    _message = json['message'];
    _buttonAccept = json['buttonAccept'];
    _buttonRefuse = json['buttonRefuse'];
  }
  String? _title;
  String? _message;
  String? _buttonAccept;
  String? _buttonRefuse;

  String? get title => _title;
  String? get message => _message;
  String? get buttonAccept => _buttonAccept;
  String? get buttonRefuse => _buttonRefuse;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['title'] = _title;
    map['message'] = _message;
    map['buttonAccept'] = _buttonAccept;
    map['buttonRefuse'] = _buttonRefuse;
    return map;
  }

}